hipreme_engine v1.0.14 (2023-12-23T18:43:10Z)
Dub
Repo
HipFontChar
hip
api
data
font
Undocumented in source.
struct
HipFontChar {
uint
id
;
int
x
;
int
y
;
int
width
;
int
height
;
int
xoffset
;
int
yoffset
;
int
xadvance
;
int
page
;
int
chnl
;
float
normalizedX
;
float
normalizedY
;
float
normalizedWidth
;
float
normalizedHeight
;
int
glyphIndex
;
void
putCharacterQuad
(float x, float y, float depth, HipTextRendererVertexAPI[] quad);
}
Members
Functions
putCharacterQuad
void
putCharacterQuad
(float x, float y, float depth, HipTextRendererVertexAPI[] quad)
chnl
int
chnl
;
Undocumented in source. Be warned that the author may not have intended to support it.
Variables
glyphIndex
int
glyphIndex
;
Undocumented in source.
height
int
height
;
Those are in absolute values
id
uint
id
;
Undocumented in source.
normalizedHeight
float
normalizedHeight
;
normalizedWidth
float
normalizedWidth
;
Normalized values
normalizedX
float
normalizedX
;
normalizedY
float
normalizedY
;
Normalized values
page
int
page
;
Undocumented in source.
width
int
width
;
Those are in absolute values
x
int
x
;
Those are in absolute values
xadvance
int
xadvance
;
Undocumented in source.
xoffset
int
xoffset
;
Undocumented in source.
y
int
y
;
Those are in absolute values
yoffset
int
yoffset
;
Undocumented in source.
Meta
Source
See Implementation
hip
api
data
font
aliases
HipCharKerning
HipFontKerning
classes
HipFont
interfaces
IHipFont
structs
HipFontChar
HipLineInfo
HipTextRendererVertexAPI
HipWordWrapRange